package zjl.base;

public class NodeSwitch extends NodeBase {

    private SchedTable table;

    public NodeSwitch(String name, int portnum) {
        super(name, NodeBase.SWITCHNODE, portnum);
        this.table = new SchedTable(this);
    }

    public void addSchedEntry(BizRequest req, SchedEntry entry) {
        this.table.insertSchedEntry(entry);
    }
}
